<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">
    
    <body>
        
        <ui:composition template="./newTemplate.xhtml">
            
            <ui:define name="top">
                top
            </ui:define>

            <ui:define name="content">
                <table border="1" align="center">
                    <thead >
                        <tr>
                            <th colspan="2">dang nhap vao admin</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>UserName:</td>
                            <td><h:inputText value="#{UserBean.name}"></h:inputText></td>
                        </tr>
                        <tr>
                            <td>PassWord:</td>
                            <td><h:inputText value="#{UserBean.pass}"></h:inputText></td>
                        </tr>
                        <tr>
                            <td colspan="2"><h:button value="Login"></h:button></td>

                        </tr>
                    </tbody>
                </table>
            </ui:define>

            <ui:define name="bottom">
                bottom
            </ui:define>

        </ui:composition>
        
    </body>
</html>
